// index.module.scss
.quoteCard {
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 16px 0;
  cursor: pointer;
  background-color: #0303036b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  caret-color: transparent;
  transition: transform 0.3s ease;

  &:hover { 
    transform: scale(1.05);
  }

   // 添加阴影蒙版
   &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); // 半透明黑色蒙版
    border-radius: 8px; // 与卡片圆角保持一致
    z-index: 0; // 蒙版在底层
  }
  // 确保内容在蒙版之上
  > * {
    position: relative;
    z-index: 1;
  }

  .title {
    margin-top: -6px;  
    color: #e2e2e2;
  }

  .content {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    text-align: left;
    text-indent: 2em;
  }

  .author {
    margin: 0;
    text-align: right;
    font-size: 14px;
    color: #e2e2e2;
    font-style: italic;
  }
}